home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Online
/
TASC
/
Install
< prev
next >
Wrap
Text File
|
1997-09-27
|
3KB
|
121 lines
/* Quick installation script
Run this from the same directory as you found it.
Don't move any of the other files before you run it.
*/
if open(A,'envarc:thor/thorpath') then do
THORP=READLN(A)
call close(A)
end
else do
say 'Unable to find the file envarc:thor/thorpath. Aborting.'
exit
end
if open(A,'envarc:thor/BBSdatapath') then do
BBSP=READLN(A)
call close(A)
end
else do
say 'Unable to find the file envarc:thor/BBSdatapath. Aborting.'
exit
end
address command
/* Install rexx files */
'copy rexx/#? "'||THORP||'rexx" quiet'
/* Install database directory */
'makedir "'||BBSP||'db"'
/* Install Docs */
'copy docs/#? "'||THORP||'docs" quiet'
/* Setup the config file */
say 'Do you want the message that you are complaining about to automatically'
say 'be deleted when you have constructed your complaint?'
options prompt '(Y/N) '
parse UPPER PULL opt
address command
'echo "delmsg:'||opt||'" > envarc:thor/TASC.cfg'
say ''
say 'Do you want to send all of your complaints with the urgent flag set?'
parse UPPER PULL opt
'echo "urg:'||opt||'" >>envarc:thor/TASC.cfg'
options prompt 'Suggestion - Unwanted Email :'
say ''
say 'What subject would you like to use for complaints about unwanted'
say 'email?'
parse PULL opt
'echo "mailhd:'||opt||'" >>envarc:thor/TASC.cfg'
options prompt 'Suggestion - Usenet spam/mail fraud :'
say ''
say 'What subject would you like to use for complaints about Usenet Spam?'
parse PULL opt
'echo "newshd:'||opt||'" >>envarc:thor/TASC.cfg'
say ''
say 'Do you always want to send your complaint to the postmaster of the'
say 'domain? If you answer N then the name of the recipient will be the title of'
say 'the header line used to find that domain (the email will still be sent to'
say 'the postmasters mailbox).'
options prompt '(Y/N) '
parse UPPER PULL opt
'echo "globPM:'||opt||'" >> envarc:thor/TASC.cfg'
say ''
say 'Would you like your complaints to be sent with the from address as'
say 'postmaster@your.domain? You need to have your own domain for this,'
say 'otherwise the replies will go to your ISPs postmaster.'
options prompt 'Your email domain (e.g. toadhall.u-net.com) '
parse PULL opt
'echo "Postmaster:'||opt||'" >> envarc:thor/TASC.cfg'
'echo "database:spam.db" >>envarc:thor/TASC.cfg'
say ''
say 'What domain name does your ISP use to return messages that bounced to you?'
options prompt '(e.g. u-net.net) '
parse PULL opt
'echo "Bounce:'||opt||'" >>envarc:thor/TASC.cfg'
say ''
say 'What is your full domain name?'
options prompt '(e.g. toadhall.u-net.com) '
parse PULL opt
'echo "Mine:'||opt||'" >>envarc:thor/TASC.cfg'
say ''
say 'Do you want to search the message text as well as the headers for'
say 'addresses to complain to?'
options prompt '(Y/N) '
parse UPPER PULL opt
'echo "SRCHBODY:'||opt||'" >>envarc:thor/TASC.cfg'
say ''
say 'Do you want to enable the option to ask for a traceroute to the'
say 'domains that you complain to?'
options prompt '(Y/N) '
parse UPPER PULL opt
'echo "TRACER:'||opt||'" >>envarc:thor/TASC.cfg'
'echo "TRACETMP:trace" >>envarc:thor/TASC.cfg'
'echo "TRACEFILE:tracefile.db" >>envarc:thor/TASC.cfg'
'echo "TRACELEN:3000" >>envarc:thor/TASC.cfg'
say ''
say 'A basic TASC config has been set up. Please read the docs when you'
say 'have become more familiar with the program & then edit it by hand to suit'
say 'yourself'
exit